package com.alliky.core.ext

import android.content.Context
import androidx.fragment.app.Fragment
import com.alliky.core.base.BaseApplication
import com.alliky.core.config.AppConfig
import com.alliky.core.widget.CustomToast

fun showToast(content: String) {
    CustomToast(AppConfig.getApplicationContext(), content).show()
}

fun Fragment.showToast(content: String) {
    CustomToast(this.requireContext(), content).show()
}

fun Context.showToast(content: String) {
    CustomToast(this, content).show()
}